package com.dk.service.impl;

import com.dk.mapper.WmMaterialStockMapper;
import com.dk.pojo.WmMaterialStock;
import com.dk.service.MaterialStockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MaterialStockServiceImpl implements MaterialStockService {

    @Autowired
    private WmMaterialStockMapper stockMapper;

    @Override
    public List<WmMaterialStock> getMaterStock(Integer getwId) {
        List<WmMaterialStock> materStock = stockMapper.getMaterStock(getwId);
        return materStock;
    }
}
